﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSLib.CodeFormating.Lexems;

namespace PSLib.CodeFormating.Adapters
{
	public abstract class LanguageAdapter
	{
		public virtual LexemType ProcessLexem(string lexem)
		{
			return LexemType.None;
		}

		public virtual LexemList PostProcessLexemList(LexemList lexemList)
		{
			return lexemList;
		}

		/// <summary>
		/// Gets lua formatter instance
		/// </summary>
		public static Adapters.LanguageAdapter LuaAdaptor
		{
			get { return new LuaAdapter(); }
		}
	}
}
